projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f660616
)
Escape newlines when printing functions in timer list
author
Pip Cet
<pipcet@gmail.com>
Thu, 13 Jun 2019 12:10:56 +0000
(14:10 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 13 Jun 2019 12:11:39 +0000
(14:11 +0200)
* timer-list.el (list-timers): Bind `print-escape-newlines' to avoid
newlines in printed representation (bug#36187).
lisp/emacs-lisp/timer-list.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/timer-list.el
b/lisp/emacs-lisp/timer-list.el
index 55aa56b72e00477b2b75a790fe2cf0c7df35e828..adfc225022345e9d1b66c50fff90e000d28db06f 100644
(file)
--- a/
lisp/emacs-lisp/timer-list.el
+++ b/
lisp/emacs-lisp/timer-list.el
@@
-59,7
+59,8
@@
(format "%s" repeat))))
;; Function.
(let ((cl-print-compiled 'static)
- (cl-print-compiled-button nil))
+ (cl-print-compiled-button nil)
+ (print-escape-newlines t))
(cl-prin1-to-string (aref timer 5)))))
(put-text-property (line-beginning-position)
(1+ (line-beginning-position))